package com.cloudcms.web.common;

public class BusinessException extends RuntimeException {
    private long code;
    private String msg;
    public BusinessException(Long code, String msg){
        super(msg);
        this.code = code;
        this.msg = msg;
    }
    public BusinessException(String msg){
        super(msg);
        this.msg = msg;
    }
    public long getCode() {
        return code;
    }
    public void setCode(long code) {
        this.code = code;
    }
}